/* 
 * Description:
 * Title class.
 * Just incapsulation - all's simple
 * 
 * File:   Title.h
 * Author: yanex
 */

#ifndef TITLE_H
#define	TITLE_H

#include <string>
using namespace std;

class Title {
public:
    Title();
    Title(string name, double length, double time, int type);
    string getName();
    double getLength();
    double getTime();
    int getType();
    void setName(string name);
    void setTime(double time);
    void setLength(double length);
    void setType(int type);
private:
    string name;
    double length, time;
    int type;
};

#endif	/* TITLE_H */

